<template>
	<view class="home-title">
		<view class="iconfont icon-canju f40 flex-1"></view>
		<view class="title flex-2">
			<view class="title-top f18 color-2c bold">{{title}}</view>
			<view class="title-bottom">{{enTitle}}</view>
		</view>
		<view class="more flex-1 flex justify-between align-ceter" @click="toCate">
			<text>查看更多</text>
			<view class="iconfont icon-more f16"></view>
		</view>
	</view>
</template>

<script>
	export default {
		name: 'home-title',
		props: ['title', 'enTitle', 'enTit'],
		data() {
			return {}
		},
   methods:{
     toCate() {
       uni.switchTab({
         url:"/pages/categorize/categorize"
       })
     }
   }
	}
</script>


<style lang="scss" scoped>
	.home-title {
		padding: 90rpx 45rpx;
		display: flex;
		text-align: left;
	}
</style>
